home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Feb 90 / MacApp.Tech$ 2⁄16⁄90 / 0675-Re Data Dilemma-Feb90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.1 KB  |  33 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  A33          to A34
  2.  
  3. Item    5454027                         14-Feb-90        17:11PST
  4.  
  5. From:   ALGER                           Alger, Jeff,VCA
  6.  
  7. To:     D4280                           IDS, Robert Pappas,AST
  8.  
  9. cc:     MACAPP.TECH$                    MacApp Technical
  10.  
  11. Sub:    Re: Data Dilemma
  12.  
  13. Bob,
  14.  
  15. It is generally considered good form to separate views from data: multiple
  16. views into the same data work best if the data is maintained separately.
  17.  
  18. Most MacApp applications choose to store their data in a subclass of TDocument
  19. or, if not, to have a TDocument be the "owner" of data referenced by it.  Each
  20. window knows who its TDocument is, so reference to the data is always
  21. available.  TDocument is not ideally structured for complex data which is not
  22. stored in files (see my article in September '89 Frameworks), but it is still
  23. the practitioners' choice for maintaining data.
  24.  
  25. If you can, pick up the conference notes when they become available.  In my
  26. session on Monday, I dealt at great length with this issue of separation of
  27. views, data, and event handling: why, when, and how.
  28.  
  29. Regards,
  30. Jeff Alger
  31. KPMG Peat Marwick
  32.  
  33.